package com.mach.platform.sprider.getter;

import com.mach.platform.sprider.dev.TcpService;
import com.mach.platform.sprider.dev.TcpWorker;
import com.mach.platform.sprider.getter.DataLogService;
import com.mach.platform.util.SqlHelper;

import java.io.IOException;
import java.util.Map;

public class GernalAlamDev implements GeneralDev {
    private final TcpWorker tcpWork;

    public GernalAlamDev(Map<String, Object> devInfo, SqlHelper sqlHelper, DataLogService dataLogService) {
        this.tcpWork = TcpService.get().regWorkTcpWork("192.168.0.58", 30003);
//        tcpWork.command(null);
    }

    @Override
    public void start() {

    }

    @Override
    public void cmd(Integer cmdLogId, String cmd, String param) {

    }

    @Override
    public void updateDevInfo(Map<String, Object> devInfo) {

    }

    @Override
    public Object getValueByColl(Map<String, Object> coll) throws IOException {
        return null;
    }

    @Override
    public Object getValueByCollName(String collName) throws IOException {
        return null;
    }

    @Override
    public Map<String, Object> getCollByName(String collName) {
        return null;
    }

    @Override
    public Integer getDevId() {
        return null;
    }

    @Override
    public void run() {

    }
}
